package com.czc.cca.ddl;

import org.zoomdev.zoom.dao.ddl.SqlType;
import org.zoomdev.zoom.dao.ddl._DDL_Column;
import org.zoomdev.zoom.dao.ddl._DDL_CompoundPrimary;
import org.zoomdev.zoom.dao.ddl._DDL_Table;
import org.zoomdev.zoom.dao.driver.mysql.MysqlDriver;

@_DDL_CompoundPrimary(columns = {"WECHAT_APPID", "WECHAT_OPENID"})
@_DDL_Table(name = "wechat_subscribe", simpleName = "", engine = MysqlDriver.InnoDB, comment = "微信公众号关注记录")
public class _DDL_WechatSubscribe {

    @_DDL_Column(name = "WECHAT_ID", type = SqlType.VARCHAR, size = 35, nullable = false, comment = "微信原始ID")
    private String id;

    @_DDL_Column(name = "WECHAT_APPID", type = SqlType.VARCHAR, size = 35, nullable = false, comment = "微信应用ID")
    private String appid;

    @_DDL_Column(name = "WECHAT_OPENID", type = SqlType.VARCHAR, size = 35, nullable = false, comment = "微信用户标识")
    private String openid;

    @_DDL_Column(name = "WECHAT_UNIONID", type = SqlType.VARCHAR, size = 35, nullable = false, comment = "微信用户唯一标识")
    private String unionid;

    @_DDL_Column(name = "CREATE_TIME", type = SqlType.VARCHAR, size = 19, nullable = false, comment = "创建时间")
    private String createTime;

}
